Detecting Timed-Out Client Requests for Avoiding Livelock and Improving Web Server Performance
نویسندگان
چکیده
A Web server’s listen queue capacity is often set to a large value to accommodate bursts of traffic and to accept as many client requests as possible. We show that, under certain overload conditions, this results in a significant loss of server performance due to the processing of so-called “dead requests”: timed-out client requests whose associated connection has been closed from the client side. In some pathological cases, these overload conditions can lead to server livelock, where the server is busily processing only dead requests and is not doing any useful work. We propose a method of detecting these dead requests and avoiding unnecessary overhead related to their processing. This provides a predictable and controllable platform for web applications, thus improving their overall performance. DTOC strategy is implemented as a part of WebQoS product for HP9000 servers [HP-WebQoS].
منابع مشابه
Web Booster Architecture for Accelerating Web Servers
This paper describes a novel approach to increase the performance of web sites by changing the network traffic between the client and the web servers. This is achieved by introducing a web booster architecture, which instantaneously decreases the processing cost on a web server for requests to both static and dynamic web resources. It consists of a booster appliance, which pre-processes client ...
متن کاملA Pattern Language For Improving the Capacity of Layered Client/Server Systems with Multi-Threaded Servers
The paper describes a set of patterns that extend the pattern language proposed in [Meszaros96] for improving the capacity of reactive systems. The intent of these patterns is to identify some specific causes that limit the efficiency of a distributed layered client-server system with multi-threaded servers, and to find appropriate corrective measures. The type of systems considered here is a s...
متن کاملبهینهسازی اجرا و پاسخ صفحات وب در فضای ابری با روشهای پیشپردازش، مطالعه موردی سامانههای وارنیش و انجینکس
The response speed of Web pages is one of the necessities of information technology. In recent years, renowned companies such as Google and computer scientists focused on speeding up the web. Achievements such as Google Pagespeed, Nginx and varnish are the result of these researches. In Customer to Customer(C2C) business systems, such as chat systems, and in Business to Customer(B2C) systems, s...
متن کاملOptimizing High-Latency I/O in CMSSW
To efficiently read data over high-latency connections, ROOT-based applications must pay careful attention to user-level usage patterns and the configuration of the I/O layer. Starting in 2010, CMSSW began using and improving several ROOT best practice techniques such as enabling the TTreeCache object and avoiding reading events out-of-order. Since then, CMS has been deploying additional improv...
متن کاملWeb++: A System for Fast and Reliable Web Service
We describe the design of a system for a fast and reliable HTTP service termed Web++. Web++ achieves high reliability by dynamically replicating Web data among multiple Web servers. Web++ selects a server which is available and that is expected to provide the fastest response time. Furthermore, Web++ guarantees data delivery, provided that at least one server containing the requested data is av...
متن کامل